Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_add
date_add
DateTime::add alias: Add a certain amount of days, months, years, hours, minutes and seconds to a DateTime object.
Name:
date_add
Category:
Date and time
Programming Language:
php
One-line Description:
Add day, month, year, hour, minute, and second to date.
Related
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis
3
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared
7
Similar Functions
gmdate
gmdate
FormatGMT/UTCdate/ti
date_modify
date_modify
AliasforDateTime::
date_parse
date_parse
Returnsanassociative
gmstrftime
gmstrftime
FormatGMT/UTCtime/da
date_add
date_add
DateTime::addalias:A
time
time
ReturnthecurrentUnix
date_get_last_errors
date_get_last_errors
AliasforDateTime::
idate
idate
Formatlocaltime/date
Popular Articles
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis